﻿using System;

namespace Labthink.PCSoft.UniversalHost4.Model.Flow
{
    /// <summary>
    /// 试验信息
    /// </summary>
    public class TestInfo
    {
        /// <summary>
        /// 试验类型
        /// </summary>
        public int TestType { get; set; }

        /// <summary>
        /// 试验编号
        /// </summary>
        public int TestId { get; set; }

        /// <summary>
        /// 腔/杯号
        /// </summary>
        public int DataSn { get; set; }
        /// <summary>
        /// 操作员名称
        /// </summary>
        public string OpName { get; set; }
        /// <summary>
        /// 开始时间
        /// </summary>
        public DateTime Start { get; set; }
        /// <summary>
        /// 结束时间
        /// </summary>
        public DateTime? End { get; set; }
        /// <summary>
        /// 结束类型
        /// </summary>
        public EndType Type { get; set; }
    }

    public enum EndType
    {
        Auto,
        Hand,
        Exception
    }
}
